<!DOCTYPE html>
<html lang='en'>

<head>
  <meta charset='UTF-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1.0'>
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    li {
      list-style: none
    }
  </style>
</head>

<body>
  <div id='app'>
    1111
    <div>hahhahah</div>
    <div v-text="msg">afsdsdaf</div>
    <input type="text" v-model="msg">
    <input type="text" v-model="count">
    <button id="hahah">adf</button>
  </div>
  <script src="./js/watcher.js"></script>r
  <script src="./js/dep.js"></script>
  <script src="./js/compiler.js"></script>
  <script src="./js/observer.js"></script>
  <script src="./js/index.js"></script>
  <script>
    const vm = new Vue({
      el: '#app',
      data: {
        msg: 'msg属性内容',
        ccc: {
          chahah: 111,
          bb: {
            jdfsj: 11123
          }
        },
        count: ''

      }
    })
    console.log(vm)
    document.querySelector('#hahah').addEventListener('click', function() {
      vm.msg = 'fsdjadsjklfkjladslkjasdklj----'
    })
  </script>
</body>

</html>